import Vue from 'vue'
import App from './App.vue'
import router from './router/index'
import store from './store/index'
import axios from 'axios'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/swiper-bundle.css'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.config.productionTip = false
Vue.use(VueAwesomeSwiper)/* { default options with global component } */
Vue.use(ElementUI);
axios.defaults.baseURL="https://api-hmugo-web.itheima.net/api/public/v1"
axios.defaults.timeout=10000
axios.defaults.headers['Content-Type'] = 'application/x-www-form-urlencoded'
Vue.prototype.axios=axios  
new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
